<div style="padding-top:4px;">
	<div style="float:left;padding:8px" >
		共有<strong> ${data.total} </strong>条记录,
		当前第<strong> ${data.current} </strong>页,
		共<strong> ${data.pages} </strong>页
		每页显示 
		<select name="rows" style="height:22px;" onchange="changePageSize();">
	    		<option value="5" <#if data.size==5>selected</#if>>5</option>
	    		<option value="10" <#if data.size==10>selected</#if>>10</option>
	    		<option value="15" <#if data.size==15>selected</#if>>15</option>
	    		<option value="20" <#if data.size==20>selected</#if>>20</option>
	    		<option value="25" <#if data.size==25>selected</#if>>25</option>
		</select> 条
	</div>
	<div style="float:right;<#if data.total==0>display:none;</#if>">
		<ul class="pager " style="margin:0px;text-align:right;">
		  <li class="previous <#if data.current==1>disabled</#if>"><a href="javascript:<#if data.current==1>void(0)<#else>first()</#if>;">首&nbsp;&nbsp;页</a></li>
		  <li class="<#if data.current==1>disabled</#if>"><a href="javascript:<#if data.current==1>void(0)<#else>pre()</#if>;">« 上一页</a></li>
		  <li class="<#if data.current==data.pages>disabled</#if>"><a href="javascript:<#if data.current==data.pages>void(0)<#else>next()</#if>;">下一页 »</a></li>
		  <li class="next <#if data.current==data.pages>disabled</#if>"><a href="javascript:<#if data.current==data.pages>void(0)<#else>last()</#if>;">末&nbsp;&nbsp;页</a></li>
		</ul>
	</div>
	<input type="hidden" id="page" name="page" value="${data.current}"/>
	<input type="hidden" id="orderByField" name="orderByField" value="${data.orderByField!''}"/>
	<input type="hidden" id="sortOrder" name="sortOrder" value=""/>
</div>
<script>
	function changePageSize(){
		$('form')[0].submit();
	}
	function next(){
		$("#page").val('${data.current+1}');
		$('form')[0].submit();
	}
	function last(){
		$("#page").val('${data.pages}');
		$('form')[0].submit();
	}
	function first(){
		$("#page").val('1');
		$('form')[0].submit();
	}
	function pre(){
		$("#page").val('${data.current-1}');
		$('form')[0].submit();
	}
</script>